import { Sidebar } from "@/components/Sidebar";



export default function AdminLayout({
  children,
}: Readonly<{
  children: React.ReactNode;
}>) {
  return (
    <main className="grid gap-4 p-4 grid-cols-[220px,_1fr]">
      <Sidebar />
      <div className="overflow-y-auto h-[calc(100vh-32px)] rounded-lg border-[1px] bg-slate-50">
        {children}
      </div>
    </main>
  );
}